-
Notifications
You must be signed in to change notification settings - Fork 11.6k
Sync docs for PR 729: add client-defined tools and prepareSendMessagesRequest options #27039
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: production
Are you sure you want to change the base?
Conversation
|
This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:
|
5c8103e to
44c7ff2
Compare
|
Updated documentation with comprehensive coverage of the new Changes include:
The documentation follows the Diátaxis framework by providing:
|
fa64a63 to
a3ffa7b
Compare
ca27911 to
0dfefa9
Compare
|
Added additional documentation for client-defined tools in the Using AI Models page ( This complements the API reference documentation by providing:
The documentation now covers the feature from both a conceptual/usage perspective (in using-ai-models.mdx) and from an API reference perspective (in agents-api.mdx). |
2db9451 to
e21e021
Compare
e21e021 to
6829aff
Compare
e785e9c to
904dc39
Compare
|
Updated documentation for client-defined tools feature from cloudflare/agents#729. Changes MadeAdded comprehensive documentation for the new client-defined tools feature:
The documentation follows the Diátaxis framework with:
All examples use Cloudflare Docs style components (TypeScriptExample) and follow the style guide requirements. |
f111ce3 to
1f8d80c
Compare
10c360e to
839e043
Compare
839e043 to
8802956
Compare
8802956 to
e0021c2
Compare
|
Updated documentation with comprehensive changes including:
All changes are based on the actual implementation in PR #729 of the agents repository. |
e0021c2 to
39760dd
Compare
Document new features from cloudflare/agents PR #729: - Add client-side tools support via useAgentChat - Add toolsRequiringConfirmation option for human-in-the-loop - Add autoContinueAfterToolResult for seamless tool execution - Update human-in-the-loop guide with new patterns - Update API reference with detailed tool configuration examples Synced from: cloudflare/agents#729 Generated with Claude Code https://claude.com/claude-code Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
39760dd to
0d90c0d
Compare
|
Updated documentation to reflect changes from cloudflare/agents PR #729: Changes Made:API Reference (
|
Summary
This PR syncs documentation for cloudflare/agents PR #729: Add client-defined tools and prepareSendMessagesRequest options
Source PR: cloudflare/agents#729
Changes
New Guide: Client Tools Auto-Continuation (
/agents/guides/client-tools-continuation/)autoContinueAfterToolResultfeatureHuman-in-the-Loop Guide Updates (
/agents/guides/human-in-the-loop/)autoContinueAfterToolResultoption touseAgentChatconfigurationAgents API Documentation Updates (
/agents/api-reference/agents-api/)useAgentChatoptions with inline documentation:tools: Record of client-side tools with optional execute functionstoolsRequiringConfirmation: Array of tool names requiring human approvalautoContinueAfterToolResult: Boolean for automatic conversation continuation after tool resultsKey Features Documented
executefunctionsautoContinueAfterToolResultoption enables seamless tool execution flow that mimics server-side tool behaviortoolsRequiringConfirmationoption allows selective approval for sensitive operationsDocumentation Style Compliance
🤖 Generated with Claude Code